.mhy-message-box {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-animation: messageBoxMaskIn 200ms;
  animation: messageBoxMaskIn 200ms;
  opacity: 1;
  -webkit-transition: opacity 200ms;
  -o-transition: opacity 200ms;
  transition: opacity 200ms;
  z-index: 999
}

.mhy-message-box__container {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border-radius: 4px;
  background-color: #fff;
  -webkit-animation: messageBoxScaleIn 200ms;
  animation: messageBoxScaleIn 200ms
}

.mhy-message-box__header {
  width: 100%;
  padding: 0 30px;
  line-height: 50px;
  border-bottom: 1px solid #ebebeb;
  font-size: 16px
}

.mhy-message-box__header span {
  font-weight: 600
}

.mhy-message-box__header .mhy-icon {
  float: right;
  cursor: pointer;
  color: #ccc
}

.mhy-message-box__footer {
  padding-bottom: 30px;
  text-align: center
}

.mhy-message-box__confirm,
.mhy-message-box__cancel {
  width: 106px;
  line-height: 32px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 4px
}

.mhy-message-box__confirm {
  color: #fff;
  background-color: #4cc3ff
}

.mhy-message-box__cancel {
  border: 1px solid #ccc;
  color: #666;
  background-color: #fff;
  margin-right: 20px
}

.mhy-message-box__content {
  position: relative;
  text-align: center;
  width: 480px;
  padding: 40px;
  background-color: #fff;
  border-radius: 4px
}

.mhy-message-box.mhy-message-box-leave-active {
  opacity: 0
}

.mhy-message-box.mhy-message-box-leave-active .mhy-message-box__container {
  -webkit-transform: translate(-50%, -50%) scale(0.1);
  -ms-transform: translate(-50%, -50%) scale(0.1);
  transform: translate(-50%, -50%) scale(0.1);
  -webkit-transition-duration: 200ms;
  -o-transition-duration: 200ms;
  transition-duration: 200ms
}

@-webkit-keyframes messageBoxScaleIn {
  from {
    opacity: 0;
    -webkit-transform: translate(-50%, -50%) scale(0.3);
    transform: translate(-50%, -50%) scale(0.3)
  }
  to {
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1)
  }
}

@keyframes messageBoxScaleIn {
  from {
    opacity: 0;
    -webkit-transform: translate(-50%, -50%) scale(0.3);
    transform: translate(-50%, -50%) scale(0.3)
  }
  to {
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1)
  }
}

@-webkit-keyframes messageBoxMaskIn {
  from {
    background-color: rgba(0, 0, 0, 0)
  }
  to {
    background-color: rgba(0, 0, 0, 0.5)
  }
}

@keyframes messageBoxMaskIn {
  from {
    background-color: rgba(0, 0, 0, 0)
  }
  to {
    background-color: rgba(0, 0, 0, 0.5)
  }
}